package com.mall.service;

import com.mall.entity.Carousel;

import java.util.List;

/**
 * @author xyl
 * @date 2021-02-28 14:17
 */
public interface CarouseService {
    int add(Carousel carousel);

    int remove(Integer carouselId);

    int modify(Carousel carousel);

    int getShowCount();

    List<Carousel> list();

    Carousel getCarouseByGoodsId(Integer goodsId);

    List<Carousel> all();
}
